package com.maybach.workflow.common.model;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

public class FlowTaskHisDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * This field corresponds to the database column wf_flow_task_his.id
     */
    private Long id;

    /**
     * This field corresponds to the database column wf_flow_task_his.task_id
     */
    private Long taskId;

    /**
     * This field corresponds to the database column wf_flow_task_his.flow_id
     */
    private Long flowId;

    /**
     * This field corresponds to the database column wf_flow_task_his.flow_name
     */
    private String flowName;

    /**
     * This field corresponds to the database column wf_flow_task_his.task_name
     */
    private String taskName;

    /**
     * This field corresponds to the database column wf_flow_task_his.actor_type
     */
    private String actorType;

    /**
     * This field corresponds to the database column wf_flow_task_his.biz_type
     */
    private String bizType;

    /**
     * This field corresponds to the database column wf_flow_task_his.biz_id
     */
    private Long bizId;

    /**
     * This field corresponds to the database column wf_flow_task_his.display_name
     */
    private String displayName;

    /**
     * This field corresponds to the database column wf_flow_task_his.actor_value
     */
    private String actorValue;

    /**
     * This field corresponds to the database column wf_flow_task_his.execute_user_id
     */
    private Long executeUserId;

    /**
     * This field corresponds to the database column wf_flow_task_his.task_state
     */
    private Integer taskState;

    /**
     * This field corresponds to the database column wf_flow_task_his.task_type
     */
    private String taskType;

    /**
     * This field corresponds to the database column wf_flow_task_his.parent_task_id
     */
    private Long parentTaskId;

    /**
     * This field corresponds to the database column wf_flow_task_his.expire_time
     */
    private Date expireTime;

    /**
     * This field corresponds to the database column wf_flow_task_his.task_create_time
     */
    private Date taskCreateTime;

    /**
     * This field corresponds to the database column wf_flow_task_his.gmt_modified
     */
    private Date gmtModified;

    /**
     * This field corresponds to the database column wf_flow_task_his.gmt_create
     */
    private Date gmtCreate;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getTaskId() {
		return taskId;
	}

	public void setTaskId(Long taskId) {
		this.taskId = taskId;
	}

	public Long getFlowId() {
		return flowId;
	}

	public void setFlowId(Long flowId) {
		this.flowId = flowId;
	}

	public String getFlowName() {
		return flowName;
	}

	public void setFlowName(String flowName) {
		this.flowName = flowName;
	}

	public String getTaskName() {
		return taskName;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

	public String getActorType() {
		return actorType;
	}

	public void setActorType(String actorType) {
		this.actorType = actorType;
	}

	public String getBizType() {
		return bizType;
	}

	public void setBizType(String bizType) {
		this.bizType = bizType;
	}

	public Long getBizId() {
		return bizId;
	}

	public void setBizId(Long bizId) {
		this.bizId = bizId;
	}

	public String getDisplayName() {
		return displayName;
	}

	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}

	public String getActorValue() {
		return actorValue;
	}

	public void setActorValue(String actorValue) {
		this.actorValue = actorValue;
	}

	public Long getExecuteUserId() {
		return executeUserId;
	}

	public void setExecuteUserId(Long executeUserId) {
		this.executeUserId = executeUserId;
	}

	public Integer getTaskState() {
		return taskState;
	}

	public void setTaskState(Integer taskState) {
		this.taskState = taskState;
	}

	public String getTaskType() {
		return taskType;
	}

	public void setTaskType(String taskType) {
		this.taskType = taskType;
	}

	public Long getParentTaskId() {
		return parentTaskId;
	}

	public void setParentTaskId(Long parentTaskId) {
		this.parentTaskId = parentTaskId;
	}

	public Date getExpireTime() {
		return expireTime;
	}

	public void setExpireTime(Date expireTime) {
		this.expireTime = expireTime;
	}

	public Date getTaskCreateTime() {
		return taskCreateTime;
	}

	public void setTaskCreateTime(Date taskCreateTime) {
		this.taskCreateTime = taskCreateTime;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}


    @Override
    public String toString(){
        return ReflectionToStringBuilder.toString(this, ToStringStyle.DEFAULT_STYLE);
    }
}